package cn.linkpower.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "user1")
public class User1 implements Serializable {

    @TableId(value = "id")
    private Long id;

    @TableField(value = "name")
    private String userName;
    @TableField(value = "age")
    private Integer userAge;
    @TableField(value = "email")
    private String userEmail;
}
